import axios from 'axios';
import menu from '@/mock/menu.json';//菜单数据
import * as type from './actionTypes'

export const menuCollapsed = (obj) => ({
    type: type.MENU_COLLAPSED,
    obj
})

export const getMenuData = () => ({
    type: type.GET_MENU_DATA,
    payload: menu.data.data
})

